const onResizeChang = (type, onCallBack = () => {}) => {
  if (type == "start") {
    // 创建
    window.addEventListener("resize", onCallBack);
  } else if (type == "end") {
    // 销毁
    window.removeEventListener("resize", onCallBack);
  }
};
export { onResizeChang };
